package com.csy.tcshop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csy.common.utils.PageUtils;
import com.csy.tcshop.product.entity.AttrGroupEntity;
import com.csy.tcshop.product.entity.vo.AttrGroupsWithAttrsVo;
import com.csy.tcshop.product.entity.vo.SpuItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author 陈盛英
 * @email 1404630967@qq.com
 * @date 2020-12-09 23:45:16
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);
    PageUtils queryPage(Map<String, Object> params,Long catelogId);

    List<AttrGroupsWithAttrsVo> getCategoryGroupWithAttrs(Long catelogId);

    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

